write a program to calculate simple interest